package com.nsl.my_youlai.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.nsl.my_youlai.common.base.IBaseEnum;
import lombok.Getter;

public enum PrimaryClassificationEnum implements IBaseEnum<Integer> {


    WIRELESS_COMMUNICATION(1, "无线"),
    ELECTRICAL_POWER (2, "电源");

    @Getter
    @EnumValue
    private Integer value;

    @Getter
    private String label;

    PrimaryClassificationEnum(Integer value, String label) {
        this.value = value;
        this.label = label;


    }


    //"玩耍 输入错误，不能换化成 专业 类型。
    @Override
    public String getEnumCnName() {
        return "专业类型";
    }
}
